package cn.edu.scau.cmi.xuminbang.simpleFactoryMethon;

public class SimpleMeatFactory {
	public void productMeat(String kindOfMeat) {
		if(kindOfMeat.equals("pork")) {
			new Pork();
		}
		if(kindOfMeat.equals("chicken")) {
			new Chicken();
		}
		if(kindOfMeat.equals("beef")) {
			new Beef();
		}
	}

}
